    %if art_mode == 'ecaws':

            %for k,v in sorted( html_fields.items(), key=lambda x:x[1].get('idx')):
            <div class="control-group">

            %if v.get('view-type') == 'item':
            <% asin = v.get('asin') %>
            <label class="control-label" for="${k}">
            ${v.get('title')} [ ${v.get('view-type')} ]<br>
            name:${v.get('paneo-name')}
            </label>
            <div class="controls">
            <span class="label help-block">ITEM 設定</span>
            <hr>
            %for ii in range(1,11):
            <span>ASIN${"%02d"%ii}:</span><input type="text" id="${k}_asin_${ii}" name="${k}_asin_${ii}" class="input-middle" value="${asin.get('I:%s'%ii)}">
            <br>
            %endfor
            </div>
            </div>
            <hr>
            %endif

            %if v.get('view-type') == 'search':
            <label class="control-label" for="${k}">
            ${v.get('title')} [ ${v.get('view-type')} ]<br>
            name:${v.get('paneo-name')}
            </label>
            <div class="controls">
            <span class="label help-block">SEARCH 設定</span>
            <hr>

            <div class="row-fluid">
            <span class="span3">INDEX:</span>
            <select name="SEARCHINDEX">
            %for kk,vv in AWS_SEARCH_INDEX.items():
            <option value="${kk}" ${ "selected" if kk == v.get('searchindex') else "" } >${vv}</option>
            %endfor
            </select>
            </div>

            <div class="row-fluid">
            <span class="span3">KEYWORD:</span>
            <input class="span6" type="text" name="KW" value="${v.get('kw')}">
            </div>

            <div class="row-fluid">
            <span class="span3">ページ番号:</span>
            <input class="span1" type="text" name="ITEMPAGE" value="${v.get('itempage')}">
            </div>

            <div class="row-fluid">
            <span class="span3">並び替え:</span>
            <select name="SORT">
            %for kk,vv in AWS_SORT.items():
            <option value="${kk}" ${ "selected" if kk == v.get('sort') else "" } >${vv}</option>
            %endfor
            </select>
            </div>

            </div>
            <hr>
            %endif

            %endfor

    %endif

